package com.fire.control.system.support.protocol.device;

import java.util.Date;
import java.util.List;

import com.fire.control.system.statics.Status_Warning;
import com.fire.control.system.statics.Type_MessageTarget;
import com.fire.control.system.statics.Type_Solution;
import com.fire.control.system.support.protocol.comman.PageProtocol;

public class DeviceRequestProtocol extends PageProtocol {

	private static final long serialVersionUID = 1L;
	
	private String[] ids;
	
	private String searchKey;
	
	private int type; 
	
	private int tag; //导出excel类型标记
	
	private String parentId;
	
	private String url;
	
	// 设备id
	private String id;
	// 设备名称
	private String deviceName;
	// 设备类型
	private String deviceType;
	// 设备编号
	private String serialNumber;
	// 设备详细地址
	private String address;
	// 区域id
	private String areaId;
	// 城市id
	private String cityId;
	// 省id
	private String provinceId;
	
	
	// 经度
	private Double longitude;
	// 维度
	private Double latitude;
	// 最大楼层   
	private Integer floorMax;
	// 所在楼层
	private Integer floor;
	// 状态
	private Boolean status;
	// 设备组名称
	private String groupName;
	// 设备组id
	private String groupId;
	// 用户id
	private String userId;
	// 业主
	private String owner;
	// 联系方式
	private String phone;
	// 公司id
	private String companyId;
	// 安全管理员id
	private String managerId;
	// 安全巡检员id
	private String patrolId;
	// 平面图id
	private String planId;
	// 侧面图id
	private String sideId;
	// 在线状态
	private String onlineStatus;
	
	// 处理状态
	private String solutionStatus;
	
	// 维保（报警）描述
	private String warningDesc;
	
	/**平面，侧面百分比*/
	private String planX;
	private String planY;
	private String sideX;
	private String sideY;
	
	// 描述
	private String description;
	// 处理描述
	private String solutionDesc;
	// 处理人
	private String trustees;
	// 处理方式
//	private Type_Solution solutionType;
	private String solutionType;

	// 当前状态
//	private Status_Warning currentStatus;
	private String currentStatus;
	
	private Date startTime;
	
	// 格式“2017-09-08”
	private String endTime;
	
	// 搜索起始时间
	private String searchStartTime;
	// 搜索截止时间
	private String searchEndTime;
	
	// 优先级名称
	private String levelName;
	// 优先级描述
	private String levelDesc;
	// 优先级
	private Integer level;
	// 时间设置（单位/秒）
	private Integer timeSet;
	
	// 报警类型
	private String warningType;
	// 消息推送类型
	private Type_MessageTarget messageTargetType;
	// 描述
	private String messagePushDesc;
	// 是否发送责任人
	private Boolean sendPersonLiable;
	// 是否发送设备序列号
	private Boolean sendDeviceSerialNumber;
	// 是否发送设备名称
	private Boolean sendDeviceName;
	// 是否发送网关号  
	private Boolean sendGatewayNumber;
	// 是否发送网关名
	private Boolean sendGatewayName;
	// 是否发送组名
	private Boolean sendGroupName;
	
	// 是否发送设备地址
	private Boolean sendDeviceAddress;
	// 发送范围
	private String msgScopeType;
	// 是否发送app
	private Boolean sendApp;
	// 是否发送短信
	private Boolean sendSms;
	// 是否发送报警类型
	private Boolean sendWarningType;
	
	//网关ID(网关编号)
	private String gatewayEui;
	//网关名称
	private String gatewayName;
	
	// 网关id
	private String gatewayId;
	
	// 企业id上下级集合
	private List<String> companyIds;
	
	
	
	public List<String> getCompanyIds() {
		return companyIds;
	}

	public void setCompanyIds(List<String> companyIds) {
		this.companyIds = companyIds;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getCityId() {
		return cityId;
	}

	public void setCityId(String cityId) {
		this.cityId = cityId;
	}

	public String getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(String provinceId) {
		this.provinceId = provinceId;
	}

	public int getTag() {
		return tag;
	}

	public void setTag(int tag) {
		this.tag = tag;
	}

	public String getSearchStartTime() {
		return searchStartTime;
	}

	public void setSearchStartTime(String searchStartTime) {
		this.searchStartTime = searchStartTime;
	}

	public String getSearchEndTime() {
		return searchEndTime;
	}

	public void setSearchEndTime(String searchEndTime) {
		this.searchEndTime = searchEndTime;
	}

	public String getGatewayId() {
		return gatewayId;
	}

	public void setGatewayId(String gatewayId) {
		this.gatewayId = gatewayId;
	}

	public String getGatewayEui() {
		return gatewayEui;
	}

	public void setGatewayEui(String gatewayEui) {
		this.gatewayEui = gatewayEui;
	}

	public String getGatewayName() {
		return gatewayName;
	}

	public void setGatewayName(String gatewayName) {
		this.gatewayName = gatewayName;
	}

	public String getMsgScopeType() {
		return msgScopeType;
	}

	public void setMsgScopeType(String msgScopeType) {
		this.msgScopeType = msgScopeType;
	}

	public Boolean getSendApp() {
		return sendApp;
	}

	public void setSendApp(Boolean sendApp) {
		this.sendApp = sendApp;
	}

	public Boolean getSendSms() {
		return sendSms;
	}

	public void setSendSms(Boolean sendSms) {
		this.sendSms = sendSms;
	}

	public Boolean getSendWarningType() {
		return sendWarningType;
	}

	public void setSendWarningType(Boolean sendWarningType) {
		this.sendWarningType = sendWarningType;
	}

	public String getSolutionStatus() {
		return solutionStatus;
	}

	public void setSolutionStatus(String solutionStatus) {
		this.solutionStatus = solutionStatus;
	}

	public String getWarningDesc() {
		return warningDesc;
	}

	public void setWarningDesc(String warningDesc) {
		this.warningDesc = warningDesc;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getOnlineStatus() {
		return onlineStatus;
	}

	public void setOnlineStatus(String onlineStatus) {
		this.onlineStatus = onlineStatus;
	}

	public String getPlanX() {
		return planX;
	}

	public void setPlanX(String planX) {
		this.planX = planX;
	}

	public String getPlanY() {
		return planY;
	}

	public void setPlanY(String planY) {
		this.planY = planY;
	}

	public String getSideX() {
		return sideX;
	}

	public void setSideX(String sideX) {
		this.sideX = sideX;
	}

	public String getSideY() {
		return sideY;
	}

	public void setSideY(String sideY) {
		this.sideY = sideY;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	

	public String getManagerId() {
		return managerId;
	}

	public void setManagerId(String managerId) {
		this.managerId = managerId;
	}

	public String getPatrolId() {
		return patrolId;
	}

	public void setPatrolId(String patrolId) {
		this.patrolId = patrolId;
	}

	public String getPlanId() {
		return planId;
	}

	public void setPlanId(String planId) {
		this.planId = planId;
	}

	public String getSideId() {
		return sideId;
	}

	public void setSideId(String sideId) {
		this.sideId = sideId;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getFloorMax() {
		return floorMax;
	}

	public void setFloorMax(Integer floorMax) {
		this.floorMax = floorMax;
	}

	public Integer getFloor() {
		return floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}

	public String getSearchKey() {
		return searchKey;
	}

	public void setSearchKey(String searchKey) {
		this.searchKey = searchKey;
	}


	public String getWarningType() {
		return warningType;
	}

	public void setWarningType(String warningType) {
		this.warningType = warningType;
	}

	public Type_MessageTarget getMessageTargetType() {
		return messageTargetType;
	}

	public void setMessageTargetType(Type_MessageTarget messageTargetType) {
		this.messageTargetType = messageTargetType;
	}

	public String getMessagePushDesc() {
		return messagePushDesc;
	}

	public void setMessagePushDesc(String messagePushDesc) {
		this.messagePushDesc = messagePushDesc;
	}

	public Boolean getSendPersonLiable() {
		return sendPersonLiable;
	}

	public void setSendPersonLiable(Boolean sendPersonLiable) {
		this.sendPersonLiable = sendPersonLiable;
	}

	public Boolean getSendDeviceSerialNumber() {
		return sendDeviceSerialNumber;
	}

	public void setSendDeviceSerialNumber(Boolean sendDeviceSerialNumber) {
		this.sendDeviceSerialNumber = sendDeviceSerialNumber;
	}

	public Boolean getSendDeviceName() {
		return sendDeviceName;
	}

	public void setSendDeviceName(Boolean sendDeviceName) {
		this.sendDeviceName = sendDeviceName;
	}

	public Boolean getSendGatewayNumber() {
		return sendGatewayNumber;
	}

	public void setSendGatewayNumber(Boolean sendGatewayNumber) {
		this.sendGatewayNumber = sendGatewayNumber;
	}

	public Boolean getSendGatewayName() {
		return sendGatewayName;
	}

	public void setSendGatewayName(Boolean sendGatewayName) {
		this.sendGatewayName = sendGatewayName;
	}

	public Boolean getSendGroupName() {
		return sendGroupName;
	}

	public void setSendGroupName(Boolean sendGroupName) {
		this.sendGroupName = sendGroupName;
	}

	public Boolean getSendDeviceAddress() {
		return sendDeviceAddress;
	}

	public void setSendDeviceAddress(Boolean sendDeviceAddress) {
		this.sendDeviceAddress = sendDeviceAddress;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	public String getLevelDesc() {
		return levelDesc;
	}

	public void setLevelDesc(String levelDesc) {
		this.levelDesc = levelDesc;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getTimeSet() {
		return timeSet;
	}

	public void setTimeSet(Integer timeSet) {
		this.timeSet = timeSet;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}



	public String getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	
	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getSolutionDesc() {
		return solutionDesc;
	}

	public void setSolutionDesc(String solutionDesc) {
		this.solutionDesc = solutionDesc;
	}

	public String getTrustees() {
		return trustees;
	}

	public void setTrustees(String trustees) {
		this.trustees = trustees;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getSolutionType() {
		return solutionType;
	}

	public void setSolutionType(String solutionType) {
		this.solutionType = solutionType;
	}

	public String getCurrentStatus() {
		return currentStatus;
	}

	public void setCurrentStatus(String currentStatus) {
		this.currentStatus = currentStatus;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	
	
}
